<div id="artist" class="list" style="float: left">
<?php


$font_size = 20;

foreach ($artists as $i => $artist)
{
    if (strlen($artist) > 2)
    echo '<span style="font-size:'.$font_size.'px"><a href="/post/dj/'.$artist['tracks']['dj'].'">'.ucwords($artist['tracks']['dj']).'</a></span>';
    if ($font_size > 10) $font_size--;
}
?>
</div>